DistPoint1DWithEnergy

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

DistPoint1DWithEnergy()  

SYNOPSIS

misc_lib/dist_pts.c:42

RealType *DistPoint1DWithEnergy(int N,
                                RealType XMin,
                                RealType XMax,
                                int Resolution,
                                DistEnergy1DFuncType EnergyFunc)
 

DESCRIPTION

Distributes N points with a given energy in the region in the X line that is bounded by XMin, XMax. Energy is specified via the EnergyFunc that recieves the X location. Resolution * N specifies how many samples to take from EnergyFunc. Returns an array of N distributed points. The solution to the distribution is analythic provided EnergyFunc can be integrated. Herein, this integral is computed nomerically.  

PARAMETERS:

N: Number of points to distribute,

XMin: Minimum of domain to distribute points.

XMax: Minimum of domain to distribute points.

Resolution: Fineness of integral calculation.

EnergyFunc: Energy function to use.  

FUNCTION RETURN VALUE

RealType *: A vector of N points distributed as requested.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:18 GMT, October 17, 2022